package com.ruoyi.interfaceConfig.businessObject.service;

import com.ruoyi.interfaceConfig.businessObject.domain.BusinessFieldSetting;
import com.ruoyi.interfaceConfig.businessObject.domain.vo.FieldSettingVo;

import java.util.List;

/**
 * @author YiYuan
 * @description
 * @date 2024/2/26
 */
public interface IBusinessFieldSettingService {
    List<BusinessFieldSetting> selectBusinessFieldSettingList(BusinessFieldSetting businessFieldSetting);

    //获取字段，格式为ID，name
    FieldSettingVo selectFieldById( Long sceneId,Long sysObjId1, Long sysObjId2);

    //获取字段，格式为[ID,name]
    List<String> selectFieldListById(Long sceneId, Long sysObjId);

    //获取主键信息
    List<String> selectPrimaryKeysById(Long sysObjId2);

    List<List<String>> selectFieldByColumnName(List<String> sysObj2Field);

    List<BusinessFieldSetting> selectisForeignKeyById(Long sysObjId2);

    FieldSettingVo selectFieldByTableId(Long associationTable);

}
